package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.LmTicketCatalogBig;
import cn.wolfcode.trip.base.domain.LmTicketCatalogBig;
import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.query.LtCatalogDetailQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LmTicketCatalogBigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LmTicketCatalogBig record);

    LmTicketCatalogBig selectByPrimaryKey(Long id);

    List<LmTicketCatalogBig> selectAll();

    int updateByPrimaryKey(LmTicketCatalogBig record);

    List<LmTicketCatalogBig> selectLmTicketCatalogBigByState(int state);

    List<LmTicketCatalogBig> selectForList(LtCatalogDetailQueryObject qo);

    List<LmTicketCatalogBig> selectForCatalog(LtCatalogDetailQueryObject qo2);

    List<LmTicketCatalogBig> selectCatalogByParentId(@Param("parentId") Long parentId);

    List<LmTicketCatalogBig> getCatalogBigBypId(Long specialSubCommendId);

    List<LmTicketCatalogBig> getLmTicketCatalogBigByStateTwo(@Param("state") int state,@Param("stateTwo") int stateTwo);
}